package com.sinaapp.zhangziyou.dao;

import com.sinaapp.zhangziyou.pojo.TagEntity;


public interface TagDao {
	TagEntity getById(String id);

	TagEntity getByName(String name);

	void update(TagEntity tagEntity);

	void deleteById(String id);

	void delete(TagEntity tagEntity);

	void save(TagEntity tagEntity);
	
	int existTag(String tagName);
}